package com.zenithsun.news.news.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.syzg.common.service.impl.BaseServiceImpl;
import com.zenithsun.news.news.model.NewsInfo;
import com.zenithsun.news.news.service.NewsService;
import com.zenithsun.news.news.dao.NewsDAO;

@Service("newsService")
public class NewsServiceImpl extends BaseServiceImpl<NewsInfo> implements NewsService {
    
    private NewsDAO newsDAO = null;

    @Resource
	public void setnewsDAO(NewsDAO newsDAO) {
		this.setDAO(newsDAO);
		this.newsDAO = newsDAO;
	}
}
